package com.bw.service;

import com.bw.domain.Role;
import com.bw.domain.TbMenu;
import com.bw.domain.User;

import java.util.List;

/**
 * @Author: zhaijiaqi
 * @Date: 2025/3/12 15:18
 * @Description:
 **/
public interface UserService {
    User getlogin(String username);

    List<Role> getrolelist(Integer id);

    User getuser(Integer id);

    List<TbMenu> getmenulist(Integer id);

    List<Role> getallrole();

    User checkusername(String username);

    boolean add(User user);
}
